package cs.android.rpc.testserver;

import static cs.java.lang.Lang.list;

import cs.android.rpc.ListRequest;
import cs.java.collections.List;

public class TestListRequest<Row> extends TestRequest implements ListRequest<Row> {

	private final List<Row> rows = list();

	public TestListRequest() {}

	public void addRow(Row data) {
		rows.add(data);
	}

	@Override public List<Row> getList() {
		return rows;
	}

}